﻿#ifndef __INC_QGABE_H__
#define __INC_QGABE_H__

#ifdef _MSC_VER
#pragma once
#endif

//////////////////////////////////////////////////////////////////////////
// environment

// work path
#ifdef _SB_WINDOWS_
#define QG_WORK_PATH				"d:\\"
#else
#define QG_WORK_PATH				NULL
#endif


//////////////////////////////////////////////////////////////////////////
// base

// 
enum qgRR
{
	QGRR_OK = 0,
	QGRR_WAIT = 1,
	QGRR_FAIL = -1,
};

//
enum qgRoam
{
	QGROAM_NONE,

	QGROAM_RES_1,
	QGROAM_RES_2,
	QGROAM_RES_3,
	QGROAM_RES_4,
	QGROAM_RES_5,
	QGROAM_RES_6,
	QGROAM_RES_7,
	QGROAM_EVENT,
	QGROAM_MTL_1,
	QGROAM_MTL_2,
	QGROAM_MTL_3,
	QGROAM_OBJ_1,
	QGROAM_OBJ_2,
	QGROAM_OBJ_3,

	QGROAM_DSV
};

//
class KAPI qgObj : public kObjNode
{
	KCH_SUBCLASS(qgObj, kObjNode);
	KCH_FRIEND(qgRdh);
	KT_DECL_CTOR(qgObj);
	KT_DECL_DTOR(qgObj);

protected:
	kint				_rrsv : 16;
	qgRoam				_roam : 16;
};

#endif	// __INC_QGABE_H__
